package com.kara.woodAgent.agent.graph;

import dev.langchain4j.model.chat.response.ChatResponse;

/**
 * @author tzy
 * @version 1.0
 * @project wood_agent
 * @description
 * @date 2025/6/4 10:44:49
 */
public class Next {

	public String name;

	public String response;

	public Next(String name) {
		this.name = name;
	}

	public static Next NextNode(String name) {
		return new Next(name);
	}

	public static Next End() {
		return new Next("__end_node__");
	}

	public Next step(String response) {
		this.response = response;
		return this;
	}

}
